Skip to content

Add support for Chipcap 2 sensor - #6083

Merged
pelwell merged 2 commits into
raspberrypi:rpi-6.9.yfrom
javiercarrascocruz:feature/chipcap2_support
Apr 2, 2024
Merged

pelwell merged 2 commits into
raspberrypi:rpi-6.9.yfrom
javiercarrascocruz:feature/chipcap2_support

Conversation

@javiercarrascocruz

Copy link
Copy Markdown
Contributor

Support for this device was added with v6.9 under hwmon.

Given its relative complexity compared to the i2c devices supported by i2c-sensors, a dedicated overlay has been added.

The config files have also been updated to include its driver as a kernel module.

@javiercarrascocruz
javiercarrascocruz force-pushed the feature/chipcap2_support branch 2 times, most recently from d7c416c to 5bdf377 Compare April 1, 2024 22:10
@pelwell

pelwell commented Apr 2, 2024

Copy link
Copy Markdown
Contributor

This is good, as far as it goes, but you should update the arm64 defconfig files as well.

This sensor has been added to the Linux kernel with v6.9.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Support for the Amphenol Chipcap 2 humidity and temperature sensor has
been added to the Linux kernel with v6.9.

This I2C device provides three interrupt sources and requires a
dedicated regulator to operate, which makes it a bit more complex than
the current devices supported by i2c-sensor. Therefore, a dedicated file
has been implemented.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
@javiercarrascocruz
javiercarrascocruz force-pushed the feature/chipcap2_support branch from 5bdf377 to d7e27a9 Compare April 2, 2024 19:21
@javiercarrascocruz

Copy link
Copy Markdown
Contributor Author

This is good, as far as it goes, but you should update the arm64 defconfig files as well.

I updated the following arm64 defconfig files:

  • arch/arm64/configs/bcm2711_defconfig
  • arch/arm64/configs/bcm2712_defconfig
  • arch/arm64/configs/bcmrpi3_defconfig

@pelwell
pelwell merged commit 5b324c4 into raspberrypi:rpi-6.9.y Apr 2, 2024
@javiercarrascocruz
javiercarrascocruz deleted the feature/chipcap2_support branch April 5, 2024 12:28
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Apr 5, 2024
See: raspberrypi/linux#6089

kernel: rp1: Support interrupt CPU affinity
See: raspberrypi/linux#6090

kernel: i2c: designware: Make the SDA hold time half LCNT
See: raspberrypi/linux#6091

kernel: Add support for Chipcap 2 sensor
See: raspberrypi/linux#6083

kernel: nvmem: raspberrypi: Add nvmem driver for reading customer OTP
See: raspberrypi/linux#6014

kernel: Add overlays and configs for several i2c sensors
See: raspberrypi/linux#6093
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Apr 5, 2024
See: raspberrypi/linux#6089

kernel: rp1: Support interrupt CPU affinity
See: raspberrypi/linux#6090

kernel: i2c: designware: Make the SDA hold time half LCNT
See: raspberrypi/linux#6091

kernel: Add support for Chipcap 2 sensor
See: raspberrypi/linux#6083

kernel: nvmem: raspberrypi: Add nvmem driver for reading customer OTP
See: raspberrypi/linux#6014

kernel: Add overlays and configs for several i2c sensors
See: raspberrypi/linux#6093
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants